/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
         http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once


#include "Widget.h"




class ui_绘制工具_滚动条 {
	S_单色绘制ID	m_ID;

	S_sf_单色GPU映射	m_map指针;

	S_2D画布*	m_画布;
	float32		m_厚度;

public:
	ui_绘制工具_滚动条();

	void	f_Draw点(S_2D画布* 画布, uint16 属性ID);
	bool	f_alloc(S_2D画布* 画布, uint32 num, float32 厚度);
	void	f_set(S_2D画布* 画布, C_Widget* 滚动条, uint32 offset = 0);
	void	f_End(S_2D画布* 画布);
	
};

















